import request from '../utils/request'
export const getNaData = (params) => request({
        url: '/na',
        method: 'get',
        params
    })
    // shanchu
export function delteById(data) {
    return request({
        url: "/delte",
        method: "post",
        data
    })

}
// 全部删除
export function batchDelete(data) {
    return request({
        url: "/batchdelete",
        method: "post",
        data
    })

}
export function AddhomeApi(data) {
    return request({
        url: "/addhome",
        method: "post",
        data
    })
}
// xiugai
export function updateApi(data) {
    return request({
        url: "/updatahome",
        method: "post",
        data
    })
}